﻿namespace Coder.Workflow.Stores
{
    public interface IWorkProcessStore<T> where T : WorkflowDbContext
    {
        WorkProcess GetById(int id);
        TWorkProces Get<TWorkProces>(string name = null) where TWorkProces : WorkProcess;
        WorkProcess GetByName(string name);
    }
}